package com.atguigu.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Author：YH
 * @Description：
 * @Date:Created in 2021/5/3 19:17
 */

@SpringBootApplication
@EnableFeignClients //启动Feign的远程调用功能
@EnableHystrix//开启 Hystrix 默认开启断路器
public class OrderHystrixMain80 {
    public static void main(String[] args) {
        SpringApplication.run(OrderHystrixMain80.class,args);
    }
}

